package com.offcn.service;

import com.offcn.entity.User;
import com.offcn.utils.PageUtils;

public interface UserService {
    /**
     * 登录
     * @param username
     * @param password
     */
    public User login(String username, String password);

    boolean add(User user);

    PageUtils<User> findByPage(int currentPage, int pageSize, String search);

    /**
     * 修改用户信息
     * @param user
     * @return
     */
    Boolean update(User user);

    Boolean batchDel(String[] uids);

}
